import { createPinia } from "pinia"
import a from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(a)  // 注意正确拼写

export default pinia

// 统一导出所有store
export * from './modules/user'
export * from './modules/question'